package com.hikw.controller;

import com.hikw.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: 用户控制器
 * @ClassNmae: UserController
 * @Author: 何同学
 * @DateTime: 2022-02-24 14:22
 **/
@RestController
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping("/getUserAll")
    public String getUserAll() {
        return userService.getUserAll().toString();
    }
}
